#include <stdio.h>

void sort(int n,int nums[n]){
    int temp = 0;
    for (size_t i = 0; i < n; i++)
    {
        for (size_t z = i+1; z < n; z++)
        {
            if(nums[i]>nums[z]){
                temp = nums[z];
                nums[z] = nums[i];
                nums[i] = temp;
            }

        }
        
    }
    for (int i = n-1; i >= 0; i--)
    {
        printf("%d ", nums[i]);
    }
    
}

#define N 10
int main(int argc, char *argv[]) {

    int nums[N] = {0};

    for (size_t i = 0; i < N; i++)
    {
        scanf("%d", &nums[i]);
    }
    sort(N, nums);

    return 0;
}